<?php echo stylesheet_tag('jquery.treeview.css.php') ?>
<?php echo javascript_include_tag('lib/jquery_cookie.js') ?>
<?php echo javascript_include_tag('lib/jquery.treeview.js') ?>

<div id="browser-content">
  <ul id="browser" class="filetree">
    <li><span class="folder"><?php echo __('Biological') ?></span>
      <ul><?php foreach ($categories as $category): ?>

        <li><span class="folder"><?php echo $category->getName() ?></span>
          <ul><?php foreach ($category->getSpeciesBasic() as $species): ?>

            <li><span class="file"><input type=checkbox name=species[] value="<?php echo $species['id'] ?>" /> <?php echo $species['name']  ?></span></li><?php endforeach ?>

          </ul>
        </li><?php endforeach; ?>

      </ul>
    </li>

    <li><span class="folder"><?php echo __('Physical') ?></span></li>
    <li><span class="folder"><?php echo __('Human Activities') ?></span></li>
  </ul>
</div>